例文
- Perl also has eval " blocks ", which serves as its exception handling mechanism ( see Exception handling syntax # Perl ).
- A key mechanism for exception safety is a finally clause, or similar exception handling syntax, which ensure that certain code is " always " run when a block is exited, including by exceptions.